hasMaxLength

open fun hasMaxLength(): Boolean
Maximum length for 'string' fields. Setting this is equivalent
to setting max_size to a value of length+1.
optional int32 max_length = 14;

Return

Whether the maxLength field is set.